package com.matt.domain.hintdot;

import com.matt.commons.model.Domain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "tb_red_point_type")
@Data
@EqualsAndHashCode(callSuper = true)
public class RedPointType extends Domain{
    @Column(columnDefinition = "varchar(40) COMMENT '红点类型code'")
    private String code;

    @Column(columnDefinition = "varchar(255) COMMENT '红点类型code'")
    private String pointPath;

    @Column(columnDefinition = "varchar(64) COMMENT '红点类型名字'")
    private String pointName;

    @Column(columnDefinition = "int(3) DEFAULT 0 COMMENT '类型 0-显示红点 1-显示数字' ")
    private int pointType;
}
